$(function (){
	
	$('#show').treegrid({
		    url:'showPer.action',
		    height:'510',
		    title : '权限管理',
//		    fit : true, 
		    iconCls:'icon-edit',
		    nowrap: false,
		    showFooter:false,
		    idField:'id',
		    treeField:'region',
		    animate:true,
		    singleSelect:true,
		    checkOnSelect:false,
		    selectOnCheck:false,
		    checkbox:true,
		    columns:[[
		        {field:'region',title:'',width:150},
				{field:'description',title:'描述',width:200,},
				]],
//		    onLoadSuccess: function () {
//		    	beginEditing();//开启编辑状态
//		    },
//		    toolbar : '#tb'
		});
});